home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 247 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  861 b 

  1. Path: dataland.owl.de!flohoff
  2. Newsgroups: comp.sys.amiga.programmer
  3. Subject: Serial Device -> ReadLine ?
  4. From: flohoff@dataland.owl.de (Florian Lohoff)
  5. Message-ID: <flohoff.0660@dataland.owl.de>
  6. Date: Fri, 5 Jan 96 04:33:20 CET
  7.  
  8.  
  9. Hi,
  10. i want a routine which sends me (In best case) every time a ExecMsg when
  11. received a full line from the serial device. What is the best way to do this.
  12.  
  13. My thought.
  14.  
  15. 1. Read only one char at a time. Put it sequentially in a buffer until $0a/$0d
  16. 2. Use EOFMode. As i understand from AutoDocs the eofmode made Interrupt
  17.    receiving. I wasn`t able to get this to run.
  18.  
  19. I have a definition of maximum chars which come over serial line so this isn`t
  20. the problem.
  21.  
  22.  
  23. Gimme a hint ...
  24.  
  25. Flo
  26. ---
  27. INet: flo@dataland.owl.de Fido: 2:2449/845 Warp: 137:15/200  Amiga: 39:170/110
  28. Voice: +49-5241-340796    Data: +49-5241-3286/7/8/9  337180/1
  29.